package com.nega.modules.service.impl;

import com.nega.commons.email.EmailData;
import com.nega.commons.email.MailCoreServer;
import com.nega.modules.service.MailCoreService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: Garcia
 * @CreateDate: 2019/5/20 21:29
 * @Description: what it is class?
 */
@Service
public class MailCoreServiceImpl implements MailCoreService {

    @Resource
    private MailCoreServer mailCoreServer;

    @Override
    public void sendEmail(EmailData emailData) {
        mailCoreServer.sendEmail(emailData);
    }
}

